\hypertarget{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs}{
\section{Zebulon::MCU::ReportDigitalInputs Class Reference}
\label{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs}\index{Zebulon::MCU::ReportDigitalInputs@{Zebulon::MCU::ReportDigitalInputs}}
}


Command message to set the desired thrust of a motor.  


{\ttfamily \#include $<$reportdigitalinputs.h$>$}Inheritance diagram for Zebulon::MCU::ReportDigitalInputs::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_a559e86c30877c828e84ca78575eebd69}{
\hyperlink{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_a559e86c30877c828e84ca78575eebd69}{ReportDigitalInputs} ()}
\label{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_a559e86c30877c828e84ca78575eebd69}

\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_a0c2811db35e42d380a8c6ccc50c58c22}{
virtual \hyperlink{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_a0c2811db35e42d380a8c6ccc50c58c22}{$\sim$ReportDigitalInputs} ()}
\label{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_a0c2811db35e42d380a8c6ccc50c58c22}

\begin{DoxyCompactList}\small\item\em Destructor. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_a1ee76599962df5a47c0bbba6ea0b8ded}{WriteMessageBody} (CxUtils::Packet \&packet) const 
\begin{DoxyCompactList}\small\item\em Writes the contents of the message payload to the packet. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_a2fada0075cc8728fce0b7e1590e0b64c}{ReadMessageBody} (const CxUtils::Packet \&packet)
\begin{DoxyCompactList}\small\item\em Reads the contents of the message payload from the packet, and saves to internal data members. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_a7555896b4841919ded95a114e0939a04}{
virtual void {\bfseries Print} () const }
\label{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_a7555896b4841919ded95a114e0939a04}

\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_a197c4297e2412a7017ebedd4462877e0}{
virtual \hyperlink{class_zebulon_1_1_m_c_u_1_1_message}{Message} $\ast$ \hyperlink{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_a197c4297e2412a7017ebedd4462877e0}{Clone} () const }
\label{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_a197c4297e2412a7017ebedd4462877e0}

\begin{DoxyCompactList}\small\item\em Makes a clone of the message. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_abe165fb6d55d0d5b766f8b90f5f10a18}{
unsigned char \hyperlink{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_abe165fb6d55d0d5b766f8b90f5f10a18}{mPort}}
\label{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_abe165fb6d55d0d5b766f8b90f5f10a18}

\begin{DoxyCompactList}\small\item\em Port number \mbox{[}0x00, 0xFF\mbox{]}. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_ae880048630a1d3315a63f89ad0926ad8}{
unsigned char \hyperlink{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_ae880048630a1d3315a63f89ad0926ad8}{mValue}}
\label{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_ae880048630a1d3315a63f89ad0926ad8}

\begin{DoxyCompactList}\small\item\em 0 in bit field indicates off, 1 in bit field indicates on \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Command message to set the desired thrust of a motor. 

\subsection{Member Function Documentation}
\hypertarget{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_a2fada0075cc8728fce0b7e1590e0b64c}{
\index{Zebulon::MCU::ReportDigitalInputs@{Zebulon::MCU::ReportDigitalInputs}!ReadMessageBody@{ReadMessageBody}}
\index{ReadMessageBody@{ReadMessageBody}!Zebulon::MCU::ReportDigitalInputs@{Zebulon::MCU::ReportDigitalInputs}}
\subsubsection[{ReadMessageBody}]{\setlength{\rightskip}{0pt plus 5cm}int ReportDigitalInputs::ReadMessageBody (const CxUtils::Packet \& {\em packet})\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_a2fada0075cc8728fce0b7e1590e0b64c}


Reads the contents of the message payload from the packet, and saves to internal data members. 
\begin{DoxyParams}{Parameters}
\item[\mbox{$\leftarrow$} {\em packet}]Packet to read from.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
4 on success, 0 on failure. 
\end{DoxyReturn}


Reimplemented from \hyperlink{class_zebulon_1_1_m_c_u_1_1_message}{Zebulon::MCU::Message}.\hypertarget{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_a1ee76599962df5a47c0bbba6ea0b8ded}{
\index{Zebulon::MCU::ReportDigitalInputs@{Zebulon::MCU::ReportDigitalInputs}!WriteMessageBody@{WriteMessageBody}}
\index{WriteMessageBody@{WriteMessageBody}!Zebulon::MCU::ReportDigitalInputs@{Zebulon::MCU::ReportDigitalInputs}}
\subsubsection[{WriteMessageBody}]{\setlength{\rightskip}{0pt plus 5cm}int ReportDigitalInputs::WriteMessageBody (CxUtils::Packet \& {\em packet}) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_zebulon_1_1_m_c_u_1_1_report_digital_inputs_a1ee76599962df5a47c0bbba6ea0b8ded}


Writes the contents of the message payload to the packet. 
\begin{DoxyParams}{Parameters}
\item[\mbox{$\leftarrow$} {\em packet}]Packet to write to.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
4 on success, 0 on failure. 
\end{DoxyReturn}


Reimplemented from \hyperlink{class_zebulon_1_1_m_c_u_1_1_message}{Zebulon::MCU::Message}.

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/mcu/include/mcu/\hyperlink{reportdigitalinputs_8h}{reportdigitalinputs.h}\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/mcu/src/mcu/\hyperlink{reportdigitalinputs_8cpp}{reportdigitalinputs.cpp}\end{DoxyCompactItemize}
